/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ReportsScreen.java
 *
 * Created on 05 29, 11, 8:58:51 PM
 */
package vera;

/**
 *
 * @author kasia
 */
public class ReportsScreen extends ParentClass {

    /** Creates new form ReportsScreen */
    public ReportsScreen() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        m_labelReports = new javax.swing.JLabel();
        m_radioButtonRealTimeReport = new javax.swing.JRadioButton();
        m_labelFrom = new javax.swing.JLabel();
        m_textFieldFrom = new javax.swing.JTextField();
        m_radioButtonMonthlyReport = new javax.swing.JRadioButton();
        m_comboBoxMonth = new javax.swing.JComboBox();
        m_comboBoxYear = new javax.swing.JComboBox();
        m_radioButtonClientReport = new javax.swing.JRadioButton();
        m_labelClientName = new javax.swing.JLabel();
        m_textFieldClientName = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(vera.VERAApp.class).getContext().getResourceMap(ReportsScreen.class);
        m_labelReports.setFont(resourceMap.getFont("m_labelReports.font")); // NOI18N
        m_labelReports.setText(resourceMap.getString("m_labelReports.text")); // NOI18N
        m_labelReports.setName("m_labelReports"); // NOI18N

        m_radioButtonRealTimeReport.setText(resourceMap.getString("m_radioButtonRealTimeReport.text")); // NOI18N
        m_radioButtonRealTimeReport.setName("m_radioButtonRealTimeReport"); // NOI18N
        m_radioButtonRealTimeReport.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                m_radioButtonRealTimeReportActionPerformed(evt);
            }
        });

        m_labelFrom.setText(resourceMap.getString("m_labelFrom.text")); // NOI18N
        m_labelFrom.setName("m_labelFrom"); // NOI18N

        m_textFieldFrom.setText(resourceMap.getString("m_textFieldFrom.text")); // NOI18N
        m_textFieldFrom.setName("m_textFieldFrom"); // NOI18N

        m_radioButtonMonthlyReport.setText(resourceMap.getString("m_radioButtonMonthlyReport.text")); // NOI18N
        m_radioButtonMonthlyReport.setName("m_radioButtonMonthlyReport"); // NOI18N

        m_comboBoxMonth.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }));
        m_comboBoxMonth.setName("m_comboBoxMonth"); // NOI18N

        m_comboBoxYear.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "2011" }));
        m_comboBoxYear.setName("m_comboBoxYear"); // NOI18N

        m_radioButtonClientReport.setText(resourceMap.getString("m_radioButtonClientReport.text")); // NOI18N
        m_radioButtonClientReport.setName("m_radioButtonClientReport"); // NOI18N

        m_labelClientName.setText(resourceMap.getString("m_labelClientName.text")); // NOI18N
        m_labelClientName.setName("m_labelClientName"); // NOI18N

        m_textFieldClientName.setText(resourceMap.getString("m_textFieldClientName.text")); // NOI18N
        m_textFieldClientName.setName("m_textFieldClientName"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(m_labelReports))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(41, 41, 41)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(21, 21, 21)
                                .addComponent(m_labelFrom)
                                .addGap(33, 33, 33)
                                .addComponent(m_textFieldFrom, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(m_radioButtonRealTimeReport)
                            .addComponent(m_radioButtonMonthlyReport)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(21, 21, 21)
                                .addComponent(m_comboBoxMonth, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(m_comboBoxYear, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(m_radioButtonClientReport)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(21, 21, 21)
                                .addComponent(m_labelClientName)
                                .addGap(18, 18, 18)
                                .addComponent(m_textFieldClientName, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap(568, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addComponent(m_labelReports)
                .addGap(32, 32, 32)
                .addComponent(m_radioButtonRealTimeReport)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelFrom)
                    .addComponent(m_textFieldFrom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(m_radioButtonMonthlyReport)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_comboBoxMonth, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(m_comboBoxYear, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(m_radioButtonClientReport)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelClientName)
                    .addComponent(m_textFieldClientName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(367, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void m_radioButtonRealTimeReportActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_m_radioButtonRealTimeReportActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_m_radioButtonRealTimeReportActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new ReportsScreen().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox m_comboBoxMonth;
    private javax.swing.JComboBox m_comboBoxYear;
    private javax.swing.JLabel m_labelClientName;
    private javax.swing.JLabel m_labelFrom;
    private javax.swing.JLabel m_labelReports;
    private javax.swing.JRadioButton m_radioButtonClientReport;
    private javax.swing.JRadioButton m_radioButtonMonthlyReport;
    private javax.swing.JRadioButton m_radioButtonRealTimeReport;
    private javax.swing.JTextField m_textFieldClientName;
    private javax.swing.JTextField m_textFieldFrom;
    // End of variables declaration//GEN-END:variables
}
